﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/resource/UserPwoer.tld" prefix="p"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	pageContext.setAttribute("userPwoer", request.getSession().getAttribute("userPwoer"));
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title id="title">${obj.fyKinds}${obj.fyGq}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/DDMBase.js"></script>


<link rel="stylesheet"
	href="${path }/resource/weixin/css/house-input-msg.css">


<script type="text/javascript" src="${path }/resource/weixin/js/fygl.js"></script>
<style type="text/css">
.img_box {
	float: left;
	width: 62px;
	height: 62px;
	border: 1px solid #aeaeae;
	display: none;
	overflow: hidden;
	margin-right: 3px;
	border: 1px solid #aeaeae;
}

.img_box i {
	font-size: 15px;
	float: right;
	cursor: pointer;
	position: relative;
	top: -65px;
	color: #BF1B04;
}

.img_box img {
	width: 60px;
	height: 60px;
}

.img_box i:HOVER {
	color: #f0ad4e;
}
</style>
</head>
<body>
	<!-- 头部 -->
	<jsp:include page="_top.jsp"></jsp:include>
	<!-- 内容 -->
	<!-- 导航 -->
	<div class="nav color-9">
		<span><a href="${path }/index" class="color-9">首页</a></span>
		&nbsp;&gt;&nbsp; <span><a
			href="${path }/customer/redirect/house-class" class="color-9">重选类别</a></span>
		&nbsp;&gt;&nbsp; <span>${obj.fyKinds}${obj.fyGq}</span>
	</div>

	<form class="form-horizontal" id="dataform"
		onsubmit="javascripr:return false;">

		<input type="hidden" value="${obj.fyKinds}" name="fyKinds" /> <input
			type="hidden" value="${obj.fyGq}" name="fyGq" />

		<!-- 房产标题-->
		<div class="pull-msg back-w margin-t1 padding-10 font-s2 ">
			<span class="float-l chose-span">标题</span>
			<div class="chose1">
				<input type="text" dataType="*6-30" class="input1"
					placeholder="请输入6-30字" value="${obj.fyTitle}" name="fyTitle">
			</div>
			<div class="line"></div>
			<span class="float-l chose-span">手机</span>
			<div class="chose1">
				<input type="number" class="input1" name="fyLxdh"
					value="${obj.fyLxdh}" dataType="m" nullmsg="联系电话不能为空"
					placeholder="请输入手机号码">
			</div>
			<div class="line"></div>
			<span class="float-l chose-span">联系人</span>
			<div class="chose1">
				<input dataType="*1-50" value="${obj.fyLxr}" name="fyLxr"
					nullmsg="联系人不能为空" type="text" class="input1"
					placeholder="请输入联系人名称	">
			</div>
		</div>

		<!-- 房屋区域 -->
		<div class="pull-msg back-w margin-t1 padding-10 font-s2 ">
			<span class="float-l chose-span">地址</span>
			<div class="chose1">
				<input type="text" class="input1" value="${obj.infoAddress}"
					name="infoAddress" dataType="*1-200" nullmsg="所在购地区不能为空"
					placeholder="请输入地址	">
			</div>
			<div class="line"></div>
			<span class="float-l chose-span">商铺类型</span>
			<div class="chose">
				<select class="form-control autoFull border-no" name="cfType"
					data-filed="name" data-value="name" data-def="${obj.spType}"
					data-url="${path}/visitor/dataDictionary/showDataDictionary"
					data-param="{type:'商铺类型'}">
					<option value=''>--请选择商铺类型--</option>
				</select>
			</div>
			<div class="line"></div>
			<span class="float-l chose-span">经营行业</span>
			<div class="chose1">
				<input type="text" class="input1" value="${obj.spJynr}" name="spJynr"
							dataType="*1-500" nullmsg="经营行业不能为空" >
			</div>
			<div class="line"></div>
			<span class="float-l chose-span">期望面积</span>
			<div class="input-div">
				<div class="shi color-9">
					<input type="number" maxlength="10" value="${obj.qzqgAreaCountMin}"
						name="qzqgAreaCountMin" dataType="n" class="input">到
				</div>
				<div class="ting color-9">
					<input type="number" length="10" value="${obj.qzqgAreaCountMax}"
						name="qzqgAreaCountMax" dataType="n" class="input">㎡
				</div>
			</div>
			<div class="line"></div>
				<c:if test="${obj.fyGq eq '求购'}" >
			<span class="float-l chose-span">期望价格</span>
			<div class="input-div">
				<div class="shi color-9">
					<input type="number" maxlength="10" value="${obj.qzqgPriceMin}"
						name="qzqgPriceMin" dataType="*1-20" class="input"	>万
				</div>
				<div class="ting color-9">
					<input type="number" maxlength="10" value="${obj.qzqgPriceMax}"
						name="qzqgPriceMax" dataType="*1-20" class="input">万
				</div>
			</div>
			</c:if>
			<c:if test="${obj.fyGq eq '求租'}" >
			<span class="float-l chose-span">期望价格</span>
			<div class="input-div">
				<div class="shi color-9">
					<input type="number" maxlength="10" value="${obj.qzqgPriceMin}"
						name="qzqgPriceMin" dataType="*1-20" class="input"	>到
				</div>
				<div class="ting color-9">
					<input type="number" maxlength="10" value="${obj.qzqgPriceMax}"
						name="qzqgPriceMax" dataType="*1-20" class="input2">/月
				</div>
			</div>
			</c:if>
		</div>

	<!-- 置顶信息 -->
	<div class="back-w margin-t1 padding-1 color-y font-s2 border-1">选填信息</div>
	<div class="pull-msg back-w margin-t1 padding-10 font-s2 ">
		<div class="line"></div>
		<span class="float-l chose-span">置顶计划</span>
		<div class="chose1">
			<select id="plan" name="glTopRuleId" class="input" onchange="changePlan(this)" >
				<option value="">--请选择置顶计划--</option>
				<c:forEach items="${lkzd }" var="item">
					<option value="${item.id}" data-price="${item.price}"  >${item.name }/￥${item.price}</option>
				</c:forEach>
			</select>
		</div>
	</div>
	<div class="margin-t1 back-w padding-1">
		<div>
			应付金额:&nbsp;<span id="money" class="color-y font-w6">0元</span>
		</div>
	</div>
	<div class="push-div">
		<button onclick="myForm.submit()"
			class="back-y color-w push-btn margin-1 padding-1">发&nbsp;&nbsp;&nbsp;&nbsp;布</button>
	</div>
</form>
</body>
</html>